package com.xoa.service.workflow.flowtype;

import com.xoa.model.workflow.FlowFormType;
import com.xoa.model.workflow.TMacroCtrl;
import com.xoa.util.AjaxJson;
import com.xoa.util.ToJson;
import com.xoa.util.common.wrapper.BaseWrapper;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by gsb on 2017/5/8.
 */
public interface FlowFormTypeService {

     public ToJson<FlowFormType> qureyItemMax(Integer formId);

     public  ToJson<TMacroCtrl>  qureyCtrl(String controlId,String option,HttpServletRequest request,Integer fromId,Integer folwId,
                                           String runId, String prcsId, String flowPrcs, String company, String signlock,String PRCS_ID,String FLOW_PRCS,String sql,String sqlList);

     public BaseWrapper updateContent(Integer feedId, Integer signLook,String content);

     public BaseWrapper deleteContent(Integer feedId);

     public AjaxJson getForm(Integer flowId);

     public AjaxJson updateMobileDataSort(String mobileDataSort,Integer formId);

     public AjaxJson getMobileDataSort(Integer formId);


}
